home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: Caius Martius <caius@nando.net>
- Newsgroups: comp.lang.c++
- Subject: Need help with *.def file in Borland 4.0 (Alocating memory)
- Date: Thu, 14 Mar 1996 14:49:10 -0800
- Organization: Nando.net
- Message-ID: <3148A266.6F24@nando.net>
- NNTP-Posting-Host: grail2112.nando.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I; 16bit)
-
- I am a student in Computer Science and I work on Sun Sparqs at school,
- which run Unix. The school uses the AT&T compiler (version 3 I believe),
- but at home I have Borland 4.0.
- I live quite a ways from school, so obviously it would be nice to be able
- to work on my assignments at home.
-
- My problem is that I can not get some of my programs to run at home
- because of "Stack Overflows" or "Exception Errors". Now in most cases,
- if I decrease the size of a hefty array, the program will run fine. So,
- I think that I am not properly setting aside enough system resources to
- execute the program. I have monkeyed around enough to find out about
- putting heapsize and stacksize lines in the projects *.def file and that
- has solved some of my problems. What I am looking for is help on how to
- allocate as much memory as possible.
-
- I am working on a Windows system with 16 meg of ram and using Borland 4.0
-
- Any help would be appreciated.
-
-
- -Caius
-